#!/usr/bin/python

import operator

sequence = 1,2,4

print "type of",type(sequence)
print "add","=>",reduce(operator.add,sequence)
print "sub","=>",reduce(operator.sub,sequence)
print "mul","=>",reduce(operator.mul,sequence)
print "concat","=>",operator.concat("spam","egg")
print "repeat","=>",operator.repeat("spam",5)
print "getitem","=>",operator.getitem(sequence,2)
print "indexOf","=>",operator.indexOf(sequence,2)
print "sequenceIncludes","=>",operator.sequenceIncludes(sequence,2)
